 package com.hands.commen.entity.wx;

 import lombok.Data;

 import java.io.Serializable;
 import java.util.List;

 @Data
 public class HaierArgs  {
     private BaseInfo baseInfo;

     private Command command;

     public void setBaseInfo(BaseInfo baseInfo){
         this.baseInfo = baseInfo;
     }
     public BaseInfo getBaseInfo(){
         return this.baseInfo;
     }
     public void setCommand(Command command){
         this.command = command;
     }
     public Command getCommand(){
         return this.command;
     }

     @Data
     public class BaseInfo implements Serializable
     {
         private String appName;

         private String authType;

         private String hotelId;

         private String requestId;

         private long requestTime;

         private String roomNo;

         private String devMac;

         private String token;
     }

     @Data
     public class Command implements Serializable
     {
         private int commandType;

         private int roomId=1;

         private int devId;

         private int pageNo=1;

         private  int pageSize=100;

         private int brightness=-1;//亮度值
         private int coldWarm=-1;//色温值
         private int saturation=-1;//饱和度

         private String sceneId;

         private List<String> devTypeList;

     }
 }



